package com.mask.thread.sync;

public class Test {

	public static void main(String[] args) {
		Runnable task = new MyThread();  //Runnable接口对象
		
		new Thread(task,"线程1").start();
		new Thread(task,"线程2").start();
		new Thread(task,"线程3").start();
		new Thread(task,"线程4").start();

	}

}
